import request  from '@/utils/request';

import { OPS_URL, BASE_URL } from '@/config/query';

export async function submitRecord(params) {
  return request(`${BASE_URL}/record/submit_fire`, params)
}

export async function submitFireRecord(params) {
  return request(`${BASE_URL}/record/submit`, params)
}

export async function queryPage(params = { pageSize: 10, pageNum: 0 }) {
  return request(`${BASE_URL}/record/page`, params)
}

export async function queryInfoById(id) {
  return request(`${BASE_URL}/record/info/${id}`)
}

export async function queryAuditById(params) {
  return request(`${BASE_URL}/record/audit`, params)
}